import {get,post} from '@/libs/axios'

const agencyGoods = {
     // 分页列表
     page(queryData){
        return get('/agencyGoods/page',queryData)
    },
    // 单条信息
    info(id){
        return get('/agencyGoods/info',{id:id})
    },
    // 保存
    save(formData){
        return post('/agencyGoods/save',formData)
    },
    changeStore(formData){
        return post('/agencyGoods/change',formData)
    },
    // 上线状态
    status(id,status){
        return post('/agencyGoods/status',{'id':id,'status':status})
    },
    // 删除
    del(id){
        return post('/agencyGoods/delete',{id:id})
    }
}

export default agencyGoods
